﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.OleDb;

namespace DAO
{
    class DataProvider
    {
        public static OleDbConnection connDB()
        {

            string connectionString = "Provider=SQLOLEDB;Data Source=NGOAN-PC;Integrated Security=SSPI;Initial Catalog=QLHS";
            OleDbConnection conn = new OleDbConnection(connectionString);
            conn.Open();
            return conn;

        }
    }
}